package cn.mothin.frame.core.interfaces;

import java.lang.reflect.Method;

import cn.mothin.frame.core.interfaces.vo.IViewObject;

public interface IPermissionRobot {
	public boolean needCheckPermission(Method method);

	public int checkPermission(Class<?> c, Method method, IViewObject vo);

	public int checkPermission(String action);

	public int checkPermission(String className, String methodName,
			IViewObject vo);
}
